package svcpeers

import (
	. "starsine.cn/appTpl/cmn/defs"
	"starsine.cn/appTpl/cmn/logs"
	"starsine.cn/appTpl/svcpeers/client"
)

func Start(appCtxt *AppContext) {
	client.Start(appCtxt)

	logs.Infof("peers start")
}

func GetSvcClient(instanceID, addr string) *client.GRpcClient {
	return client.GetSvcClient(instanceID, addr)
}

func PushSvcClient(instanceID string) {
	client.PushSvcClient(instanceID)
}
